<?php load_theme_textdomain('braille'); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?php if (function_exists('language_attributes')) { language_attributes(); } ?>>
<head profile="http://gmpg.org/xfn/1">
	<title><?php if (is_single()) { wp_title(''); ?> &middot; <? bloginfo('name'); ?><?php } else { bloginfo('name'); } ?></title>
	<meta http-equiv="Content-Type" content="<?php bloginfo('html_type') ?>; charset=<?php bloginfo('charset'); ?>" />
	<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" />
	<meta name="template" content="Braille <?php braille_info('version'); ?>" />
	<link rel="home" href="<?php bloginfo('url'); ?>" />
	<link rel="alternate" type="application/rss+xml" title="<?php _e('RSS', 'braille'); ?>" href="<?php bloginfo('rss2_url'); ?>" />
	<link rel="alternate" type="application/atom+xml" title="<?php _e('Atom', 'braille'); ?>" href="<?php bloginfo('atom_url'); ?>" />
	<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
	<link rel="stylesheet" type="text/css" media="screen" href="<?php bloginfo('stylesheet_url'); ?>" />
	<link rel="stylesheet" type="text/css" media="print" href="<?php bloginfo('template_url'); ?>/print.css" />
<?php if (get_option('braille_style') != '') { ?>
	<link rel="stylesheet" type="text/css" media="screen" href="<?php braille_info('style'); ?>" />
<?php } if (get_option('braille_search') != 0) { ?>
	<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/javascript/prototype.js.php"></script>
	<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/javascript/effects.js.php"></script>
	<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/javascript/livesearch.js.php"></script>
	<script type="text/javascript">
	//<![CDATA[
		Event.observe(window, "load", function() {
			new Livesearch("search-form", "s", "dynamic-content", "current-content", "<?php bloginfo('template_url'); ?>" + "/search_ajax.php", "&s=", "search-load", "", "search-reset", "search-button", "Search", "./images/spinner.gif", "./images/reset.gif");
		});
	//]]>
	</script>
<?php } wp_get_archives('type=monthly&format=link'); 
wp_head(); ?>
</head>
<body class="<?php braille_body_class(); ?>">
<div id="wrapper">
<div id="header">
	<div id="mast">
		<h1 id="blog-title"><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1>
		<p id="blog-description"><?php bloginfo('description'); ?></p>
	</div>
	<div id="nav">
		<ul>
		<?php if (get_option('braille_tab') != '') { ?>
			<li class="<?php if ( is_home() or is_archive() or is_single() or is_paged() or is_search()) { ?>current_page_item<?php } else { ?>page_item<?php } ?>"><a href="<?php echo get_settings('home'); ?>/" title="<?php braille_info('tab'); ?>"><?php braille_info('tab'); ?></a></li>
		<?php } ?>
			<?php wp_list_pages('sort_column=menu_order&depth=1&title_li='); ?>
		</ul>
	</div>
</div>